export default {
  path: '/qualifications',
  component: () => import('@/views/layout'),
  meta: { scrollToTop: true },
  children: [
    // 直接重定向到施工资质 点资质打开施工资质路由页面
    { path: '/qualifications', redirect: '/qualifications/construction' },
    {
      path: '/qualifications',
      component: () => import('@/views/qualifications'),
      // 三级路由
      children: [
        // 我的资质
        { path: 'myQualifications', component: () => import('@/views/qualifications/components/myqualifications') },
        // 施工资质 路由
        { path: 'construction', component: () => import('@/views/qualifications/components/construction') },
        // 承装修试 路由
        { path: 'decoration', component: () => import('@/views/qualifications/components/decoration') },
        // 设计资质 路由
        { path: 'design', component: () => import('@/views/qualifications/components/design') },
        // 监理资质
        { path: 'supervision', component: () => import('@/views/qualifications/components/supervision') },
        // 地质灾害
        { path: 'geological', component: () => import('@/views/qualifications/components/geological') }
      ]
    }
  ]
}
